//
//  City.m
//  18-SQLite
//
//  Created by dllo on 16/8/25.
//  Copyright © 2016年 DM.C. All rights reserved.
//

#import "City.h"

@implementation City
- (instancetype)initWithCityName:(NSString *)cityName postCode:(NSInteger)postCode {
    self = [super init];
    if (self) {
        _city_name = cityName;
        _postcode = postCode;
    }
    return self;
}

- (NSString *)description {
    return [NSString stringWithFormat:@"%ld--%@", _postcode, _city_name];
}
@end
